package com.lagou.service;

import com.github.pagehelper.PageInfo;
import com.lagou.domain.PromotionAd;
import com.lagou.domain.PromotionAdVO;

import java.util.List;

/**
 * @author 李树飞
 */
public interface PromotionAdService {

    /*
    分页查询广告信息
     */
    public PageInfo<PromotionAd> findAllAdByPage(PromotionAdVO promotionAdVO);

    /*
    广告动态上下线
     */
    public void updatePromotionAdStatus(int id, int status);

    /*
    回显广告信息
     */
    public PromotionAd findPromotionAdById(int id);
}
